import http from '@/util/http'

export function getUserInfo (name) {
  return http.get(`/user/info?name=${name}`)
}
